package com.my.client.util;

import com.my.client.GreetingService;
import com.my.client.GreetingServiceAsync;

public class StaticService {
	private static StaticService ss = null;
	private static GreetingServiceAsync gs = null;
public static StaticService getInstance (){
	if(ss == null) ss = new StaticService();
	return ss;
}

private StaticService(){}

public void setService(GreetingServiceAsync _gs){
	gs = _gs;
}

public GreetingServiceAsync getService(){
	return gs;
}
}
